home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD World 1998 January
/
CD World - Ocak 1998.iso
/
misc
/
dbase55
/
disk7
/
samples1.pak
/
NAMESRCH.WFM
< prev
next >
Wrap
Text File
|
1995-07-18
|
3KB
|
103 lines
*******************************************************************************
* PROGRAM: NameSrch.wfm
*
* WRITTEN BY: Borland Samples Group
*
* DATE: 3/94
*
* UPDATED: 5/95
*
* VERSION: Visual dBASE
*
* DESCRIPTION: This is a search form used by Nameinfo.wfm
*
* PARAMETERS: None
*
* CALLS: Buttons.cc (Custom Controls file)
* Names.qbe (View of table)
*
* USAGE: DO NameSrch.wfm
*
*******************************************************************************
set ldCheck off
** END HEADER -- do not remove this line*
* Generated on 06/15/94
*
parameter bModal
local f
f = new NAMESRCHFORM()
if (bModal)
f.mdi = .F. && ensure not MDI
f.ReadModal()
else
f.Open()
endif
CLASS NAMESRCHFORM OF FORM
Set Procedure to &_dbwinhome.samples\Buttons.cc additive
this.Width = 31.67
this.Top = 1.62
this.Left = 66.52
this.Height = 9.09
this.Text = "Select Customer"
this.Minimize = .F.
this.Maximize = .F.
this.HelpFile = ""
this.HelpId = ""
this.OnOpen = CLASS::FORM_ONOPEN
this.OnClose = {;close procedure &_dbwinhome.samples\Buttons.cc}
DEFINE BROWSE SEARCHBROWSE OF THIS;
PROPERTY;
Width 29.03,;
Top 0.52,;
Left 1.32,;
Height 6.57,;
FontBold .F.,;
OnOpen {;Go top},;
ColorNormal "N/W",;
ShowRecNo .F.
DEFINE OKBUTTON SEARCHOKBUTTON OF THIS;
PROPERTY;
Width 14.11,;
Top 7.58,;
Left 1.32,;
OnClick {;form.Close()},;
Height 1.50
DEFINE CANCELBUTTON SEARCHCANCELBUTTON OF THIS;
PROPERTY;
Group .F.,;
Width 14.11,;
Top 7.58,;
Left 15.84,;
OnClick CLASS::CancelSearch,;
Height 1.50
****************************************************************************
Procedure FORM_ONOPEN
****************************************************************************
if alias() <> "NAMES"
set view to names.qbe
endif
this.startRecord = recno()
this.searchBrowse.alias = "Names"
this.searchBrowse.fields = "FNAME\H='First Name',LNAME\H='Last Name'"
****************************************************************************
Procedure CancelSearch
****************************************************************************
go form.startRecord
form.Close()
ENDCLASS